package code.hkgolden.android.service;

import java.io.IOException;
import java.net.URL;
import java.util.Collection;
import java.util.Map;

import android.content.Context;

import code.hkgolden.android.data.Topic;

public interface ContentService {

	Map<String, String> channels(Context context) throws IOException;

	Collection<Topic> topics(URL url) throws IOException;

	Collection<Topic> topics(String type, int offset, int size)
			throws IOException;

	Topic replies(URL url) throws Exception;

	Topic replies(int id, int offset, int size) throws Exception;

}
